#include("templates/layout.html")
#@layout()

#define seo_title()
#seoTitle(COLUMN.seoTitle??, "联系我们") - #seo("seo_title")
#end

#define seo_keywords()
#seoMetaKeywords(COLUMN.seoMetaKeywords??)
#end

#define seo_description()
#seoMetaDescription(COLUMN.seoMetaDescription??)
#end

#define import_head_cssjs()
<link rel="stylesheet" href="./css/contactUs.css">
#end

#define body_class()auto-foot-ct bg-white#end

#define body()
	<div class="auto-contanter" data-head-fiexd="true">
		<div class="container lhp15 contact-us">
			<!-- 地图 -->
			<div id="allmap" class="baduMap"></div>
			#company("company_contact_info")
			#include("templates/contactFrom.html")
		</div>
	</div>
#end

#define import_foot_js()
<script src="http://api.map.baidu.com/api?v=3.0&ak=Q4t3laF6f5ljKEPQEKM58iWq7ZP9SePb"></script>
<script src="./js/contactUs.min.js"></script>
<script src="./js/lib/contactfrom.js"></script>
<script>
	var ctx_theme = "#(ctx_theme)";
	var map = new BMap.Map("allmap");
	var point = new BMap.Point(#company('company_coordinates_lng'), #company('company_coordinates_lat'));
	map.centerAndZoom(point, 18);
	map.enableScrollWheelZoom(true); //开启鼠标滚轮缩放
	map.addControl(new BMap.NavigationControl()); //平移缩放控件
	map.addControl(new BMap.ScaleControl());  //比例尺
	map.addControl(new BMap.GeolocationControl());  //定位
	var point = new BMap.Point(#company('company_coordinates_lng'), #company('company_coordinates_lat'));    
	var marker = new BMap.Marker(point);        // 创建标注    
	map.addOverlay(marker);  
</script>
#end